import request from '@/utils/request'

// 查询活动风采浏览记录列表
export function listShowRead(query) {
  return request({
    url: '/applet/showRead/list',
    method: 'get',
    params: query
  })
}

// 查询活动风采浏览记录详细
export function getShowRead(id) {
  return request({
    url: '/applet/showRead/' + id,
    method: 'get'
  })
}

// 新增活动风采浏览记录
export function addShowRead(data) {
  return request({
    url: '/applet/showRead',
    method: 'post',
    data: data
  })
}

// 修改活动风采浏览记录
export function updateShowRead(data) {
  return request({
    url: '/applet/showRead',
    method: 'put',
    data: data
  })
}

// 删除活动风采浏览记录
export function delShowRead(id) {
  return request({
    url: '/applet/showRead/' + id,
    method: 'delete'
  })
}
